<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
      integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<script type="text/javascript" src="../addons/zsk_award/js/jquery.min.js"></script>
<div class="panel panel-info">
    <div class="panel-heading" style="text-align: center;background-color: #FFCC66;">红包兑换</div>
    <div class="panel-body">
        <form class="form-horizontal" id="form1" name="form1" method="post"
              action="<?php echo $this->createMobileUrl('draw');?>" enctype="multipart/form-data">

            <div class="form-group">
                <label for="inputEmail3" class="col-sm-4 control-label">兑换码:</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" id="code" name="code" placeholder="区分大小写">
                </div>
            </div>
            <div class="form-group col-xs-12 col-md-12 " style="text-align:center;">
                <input type="button" class="form-control" style="width:
		   100px;margin:0 auto; color: blue;" value="提交" onclick="sub()"/>
            </div>
        </form>
    </div>
</div>
</div>
&nbsp;&nbsp;兑换提示：<br/>
&nbsp;&nbsp;请填写正确的兑换码，兑换码区分大小写，后台验证正确后，会在微信端发送红包领取通知给您，请及时领取。
<script type="text/javascript">
    function sub() {

        if ($("#code").val() == '') {
            alert("兑换码必须填写");
            return false;
        }
        $("#form1").submit();
    }
</script>    
	

